{{append . "moreScripts" "js/home/home.js"}}
{{template "Layout/HomeHeader.html" .}}

<!-- Page Content -->
<div class="">
    <div class="">
        <!-- Blog Entries Column -->
        <div class="col-md-8">
            <div class="blog-list">
            {{template "Part/RangeBlogs.html" .blogs}}
            </div>

            <!-- Pager -->
            {{template "Part/Pager.html" .pager}}
            <!-- Pager end -->
        </div>

        <!-- Blog Sidebar Widgets Column -->
        <div class="col-md-4 right-side">
            <!-- Blog Categories Well -->
            <div class="side-area" style="display:none">
                <h4>Blog Categories</h4>
                <div class="row">
                    <div class="col-lg-6">
                        <ul>
                        {{range .categorys}}
                            <li><a href="main/category/{{.Ident}}">{{.Name}}</a>
                            </li>
                         {{end}}
                        </ul>
                    </div>
                    <!-- /.col-lg-6 -->
                </div>
                <!-- /.row -->
            </div>
            <div class="side-area">
                <h4>热门文章</h4>
                <ul class="content">
                    {{range .hotblogs}}
                    <li class="list">
                        <span><a href="{{.MainURL}}">{{.Title}}</a></span>
                        <span class="read-count">[{{.ReadCount}}]</span>
                    </li>
                    {{end}}
                </ul>
                <!-- /.row -->
            </div>

            <div class="side-area">
                <!--<h4>最近更新</h4>
                <ul class="content">
                    <li class="list">
                        <span>Hermit 音乐播放器 2.4.2</span>
                        <div class="read-count">更新时间：2016-09-26 5:38</div>
                    </li>
                    <li class="list">
                        <span>WordPress 插件:优酷视频收藏 Youku Videos 1.2.1</span>
                        <div class="read-count">更新时间：2016-09-26 5:38</div>
                    </li>
                    <li class="list">
                        <span>WordPress 主题Arbitrary 更新到1.50</span>
                        <div class="read-count">更新时间：2016-09-26 5:38</div>
                    </li>
                    <li class="list">
                        <span>CSS3梅花飘落</span>
                        <div class="read-count">更新时间：2016-09-26 5:38</div>
                    </li>
                </ul>-->
                <!-- /.row -->
            </div>

            <!-- Side Widget Well -->
            <!--<div class="well">
                <h4>Side Widget Well</h4>
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore, perspiciatis adipisci accusamus laudantium
                    odit aliquam repellat tempore quos aspernatur vero.</p>
            </div>-->

        </div>

    </div>

</div>
<!-- /.container -->


{{template "Layout/HomeFooter.html" .}}